package com.fz.mapper;

import com.fz.entity.Carousel;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Z-C-Y on 2018-03-08.
 */
@Service
public interface AdminPageManageMapper {
    /*首页轮播图修改*/
    @Select("select * from Carousel")
    public List<Carousel> queryCarousel();

    /*删除图片*/
    @Delete("delete from carousel where id = #{deleteimage}")
    public int deleteImage(@Param("deleteimage") int deleteimage);



}
